package main

import (
	. "SGEngine"
	. "SGEngine/UI"
)

func main() {
	W := CreateWindow(800, 600, "-_-_-OoOoOoOoOOOoOO_-_-_-")
	W.MainScene.BgColor = NewColor3Byte(100, 100, 100)
	W.MainScene.AddCamera(NewCamera2D())
	uitex := NewUITextureByType("c1.png", TEXTURE_SLICE)
	uitex.InitWithBorder(7, 7, 7, 7)
	uitex.SetSize(200, 200, 1)
	AddChild(WinRoot.MainScene, uitex)

	W.Run()

}
